package business;

import java.util.List;

import persistence.LibraryLocation;
import persistence.LibraryLocationDAO;
import persistence.PredefinedEntry;
import persistence.PredefinedEntryDAO;
import persistence.PredefinedParam;
import persistence.PredefinedParamDAO;
import business.exception.BusinessException;

public interface CommonLogic {
	public List<LibraryLocation> getAllLibraryLocations() throws BusinessException;
	public List<PredefinedEntry> findEntriesForParam(String paramName) throws BusinessException;
	public void setLibraryLocationDAO(LibraryLocationDAO locationDAO);
	public void setPredefinedParamDAO(PredefinedParamDAO predefinedParamDAO);
	public void setPredefinedEntryDAO(PredefinedEntryDAO predefinedEntryDAO);
	public PredefinedParam findParamByName(String paramName) throws BusinessException;
}
